#ifndef SCENES_SCENELOADING_H
#define SCENES_SCENELOADING_H

#include <string>

#include "gdn/GDN.h"
#include "GameApplication.h"

class SceneLoading : public gdn::Scene
{
	public:
		SceneLoading( GameApplication& theApp );

		virtual void Initialize();
		virtual void Terminate();

		virtual void Step( gdn::Window& window );
		virtual void Draw( gdn::Window& window );

	protected:
		GameApplication& App;
		bool doneLoading;
		size_t loadingProgress;

		void LoadNextResource();

		void CreateImageResource( const std::string& resource );
		void CreateFontResource( const std::string& resource );
		void CreateSoundResource( const std::string& resource );
		//void CreateMusicResource( const std::string& resource );
};

#endif // SCENES_SCENELOADING_H
